package com.netsmart.dao;

import org.apache.ibatis.annotations.Param;

import com.netsmart.bean.Admin;

public interface AdminMapper {
    int deleteByPrimaryKey(Long adminId);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Long adminId);
    
    Admin selectByPhone(@Param("field2") String phone);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);
}